<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<div class="pageContent">
	<form method="post" action="${rootUrl}/system/resource" class="pageForm required-validate" onsubmit="return validateCallback(this, newDialogAjaxDone);">
		<div class="pageFormContent" layoutH="56">
			<p>
				<label>资源名称：</label>
				<input name="resource.name" class="required" type="text" size="30" value="" />
			</p>

			<p>
				<label>匹配模式：</label>
				<input name="resource.pattern" class="required"  type="text" size="30" value="" />
			</p>
			<p>
				<label>请求方法：</label>
				<select  name="resource.httpmethod">
				<option value=""></option>
				<option value="GET">GET</option>
				<option value="POST">POST</option>
				<option value="PUT">PUT</option>
				<option value="DELETE">DELETE</option>
				</select>
			</p>
			
			<dl class="nowrap">
				<dt>备注：</dt>
				<dd><textarea name="resource.remark" cols="80" rows="5"></textarea></dd>
			</dl>

		</div>
		<div class="formBar">
			<ul>
				<li><div class="buttonActive"><div class="buttonContent"><button type="submit">保存</button></div></div></li>
				<li>
					<div class="button"><div class="buttonContent"><button type="button" class="close">取消</button></div></div>
				</li>
			</ul>
		</div>
	</form>
</div>